<%-- 
    Document   : actiontambah
    Created on : Sep 27, 2011, 8:22:03 PM
    Author     : Yonatan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="WEB-INF/webcon/connectionmysql.jsp" %>

<%
    String id = request.getParameter("id");
    String nama = request.getParameter("nama");
    String password = request.getParameter("password");

    a.executeUpdate
            ("insert into admin(id,nama,password) values ('"+ id +"','"+ nama +"','"+ password +"')");

%>
<jsp:forward page="index.jsp"></jsp:forward>